Class yassl.lambdanode
All Packages    This Package    Previous    Next

Class yassl.lambdanode

java.lang.Object
   |
   +----yassl.pnode
           |
           +----yassl.lambdanode

public class lambdanode
extends pnode
This node contains the body of a lambda proc.

Constructor Index

 o lambdanode(String, Vector, Vector, Vector)

Method Index

 o apply(pnode[])
apply extends the environment, then evals the body until a return node is hit, or the procedure falls off the end.
 o eval(Env)
Evaluation of a lambda node saves the environment as part of the object, and returns a copy of the object.
 o help(Env)
Return a string to be used in help messages about a particular node.

Constructors

 o lambdanode
  public lambdanode(String rettype,
                    Vector tlist,
                    Vector alist,
                    Vector b)

Methods

 o eval
  public pnode eval(Env e)
Evaluation of a lambda node saves the environment as part of the object, and returns a copy of the object.
Overrides:
eval in class pnode

 o apply

  public pnode apply(pnode actuals[]) throws yasslError
apply extends the environment, then evals the body until a return node is hit, or the procedure falls off the end.

 o help

  public String help(Env e)
Return a string to be used in help messages about a particular node.
Overrides:
help in class pnode


All Packages    This Package    Previous    Next